Skip to content

Conversation

mikerr
Copy link

@mikerr mikerr commented Jul 6, 2017

Fixes a compile error with recent versions of libavcodec

avplay.c:60:36: error: parameter 1 (‘id’) has incomplete type
static int map_vcodec(enum CodecID id)
^~
avplay.c: In function ‘map_vcodec’:
avplay.c:64:13: error: ‘CODEC_ID_MPEG2VIDEO’ undeclared (first use in this function)
case CODEC_ID_MPEG2VIDEO:

libavcoded versions after 55 now prefix codecIDs with the letters AV

@mpmc
Copy link

mpmc commented Jul 8, 2017

Just to say nice to see people contributing to pidvbip & I'm looking forward to trying out these changes when I get the chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants